package io.renren.modules.app.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.app.entity.BalanceLogEntity;
import io.renren.modules.app.req.BalanceLogReq;
import io.renren.modules.app.req.BalanceRechargeReq;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * 账户余额日志
 *
 * @author
 * @email
 * @date 2021-01-12 16:56:22
 */
public interface BalanceLogService extends IService<BalanceLogEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils balanceLogPage(IPage<BalanceLogEntity> page,BalanceLogEntity balanceLogEntity);

    PageUtils selectBalanceLogPage(IPage<BalanceLogEntity> page,BalanceLogEntity balanceLogEntity);
    /**
     *用户个人余额
     * @param page
     * @param balanceLogReq
     * @return
     */
    PageUtils getBalanceLog(Page page, @Param("balanceLogReq") BalanceLogReq balanceLogReq);
}

